package org.cst8277.ums.nas.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 机架位置
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
public class RackPosition {
    //区域
    @ExcelProperty(value = "Region")
    private String region;
    //可用区
    @ExcelProperty(value = "AZ")
    private String az;
    //IDC机房
    @ExcelProperty(value = "IDC")
    private String idc;
    //机架名称
    @ExcelProperty(value = "Rack")
    private String rack;
    //机架上的位置
    @ExcelProperty(value = "Position")
    private String position;
    //状态
    @ExcelProperty(value = "PositionStatus")
    private String positionStatus;
    //高度，单位为U；比如说2为2U
    @ExcelProperty(value = "Height")
    private String height;
    //SF代表Server Farm
    @ExcelProperty(value = "LogicalArea")
    private String logicalArea;
    //lan网络端口; @ColumnWidth只有输出为xlsx文件时才有效，输出为csv文件时无效
    @ColumnWidth(value = 60)
    @ExcelProperty(value = "LanNetworkPort")
    private String lanNetworkPort;
    //wan网络端口
    @ExcelProperty(value = "WanNetworkPort")
    private String wanNetworkPort;
    //管理网络端口
    @ExcelProperty(value = "ManagementNetworkPort")
    private String managementNetworkPort;


}
